get web api relative path

115

get web api relative path -

var fullPath = System.Web.Hosting.HostingEnvironment.MapPath(@"~/App_Data/yourXmlFile.xml");

Comments

Submit
0 Comments